package main

import "fmt"

func main() {
	a, b := 10, 20
	fmt.Printf("a = %d, b=%d\n", a, b)
	swap1(&a, &b)
	fmt.Printf("a = %d, b=%d\n", a, b)
}

func swap1(a *int, b *int) {
	*a, *b = *b, *a
}
